package test.knet.serialize;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * @author liuqi
 * @date 2024/12/17 14:05
 **/
@Getter
@Setter
@ToString
public class Data implements Serializable {

    private byte b = 20;
    private boolean bb = true;
    private int i = 30;
    private String str = "我";
    private List<String> list = new ArrayList<String>();
    {
        list.add("1");
        list.add("2");
        list.add("3");
        list.add("4");
    }

    public Data() {
    }

    public Data(String str) {
        this.str = str;
    }
}
